cmake_minimum_required(VERSION 3.10)

project(cpptester)
# 使用c++ 20
set(CMAKE_CXX_STANDARD 17)

add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/sub_dir1")

include_directories(sub_dir1)

add_executable(hello hello.cpp)

target_link_libraries(hello PUBLIC dl)


